import Vue from 'vue'
import Router from 'vue-router'
import Home from '@/components/home/Home'
import HeroInfo from '@/components/home/heroinfo/HeroInfo'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Home',
      component: Home
    },
    {
      path: '/heroinfo/:id',
      name: 'HeroInfo',
      component: HeroInfo
    }
  ]
})
